{include file='header.tpl'}
<script type="text/javascript" src="js/suggest.js"></script>
<div id="tributton">
	<div class="links">
		<a href="bewerbercontroller?task=CustomerData&id={$id}">Daten</a><a href="bewerbercontroller?task=historie&id={$id}">Historie/Notizen</a><a id="pressed" href="#">Funktionen</a></div>
</div>

<div id="content">
 <ul class="pageitem">
			<li class="textbox"><span class="header">Aktive Bestellungen</span></li>
			
			{if ($orders)}
			{foreach item=o from=$orders name=$loop}
			<li class="text"><b>{$o.Datum}</b> <br> Bestellnummer: {$o.ordernumber} <br> {$o.name}<br> {$o.description}
			{if $smarty.foreach.loop.last}
			</li>
			{else}
			</li>
			<hr/>
			{/if}
			{/foreach}
			{else}
			<li class="text">Keine Bestellungen vorhanden!</li>
			{/if}
			
			
</ul>

</div>

{include file='footer.tpl'}
